package com.ssm.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@ApiModel(value = "M_BASE_CUSTOMERS")
@Data
@TableName(value = "M_BASE_CUSTOMERS")
public class MBaseCustomersPO {
  /**
   * 学工号
   *
   * @TableId(value = "OUTID", type = IdType.AUTO)
   */
  @TableField(value = "OUTID")
  @ApiModelProperty(value = "学工号")
  private String outid;
  /**
   * 多客户版本添加对应企业编码，其它版本填写"00000000"
   *
   * @TableId(value = "ECODE", type = IdType.AUTO)
   */
  @TableField(value = "ECODE")
  @ApiModelProperty(value = "多客户版本添加对应企业编码，其它版本填写'00000000'")
  private String ecode;
  /**
   * 自增长字段
   *
   * @TableField(value = "ID")
   */
  @TableId(value = "ID", type = IdType.AUTO)
  @ApiModelProperty(value = "自增长字段")
  private BigDecimal id;
  /**
   * 姓名
   */
  @TableField(value = "\"NAME\"")
  @ApiModelProperty(value = "姓名")
  private String name;
  /**
   * 性别
   */
  @TableField(value = "SEX")
  @ApiModelProperty(value = "性别")
  private String sex;
  /**
   * 证件类型
   */
  @TableField(value = "CERTIFICATEID")
  @ApiModelProperty(value = "证件类型")
  private BigDecimal certificateid;
  /**
   * 证件号码
   */
  @TableField(value = "IDCARDNO")
  @ApiModelProperty(value = "证件号码")
  private String idcardno;
  /**
   * 部门代码
   */
  @TableField(value = "DPCODE")
  @ApiModelProperty(value = "部门代码")
  private String dpcode;
  /**
   * 客户身份
   */
  @TableField(value = "CUSTSF")
  @ApiModelProperty(value = "客户身份")
  private BigDecimal custsf;
  /**
   * 入学年份
   */
  @TableField(value = "REGSTARTYEAR")
  @ApiModelProperty(value = "入学年份")
  private BigDecimal regstartyear;
  /**
   * 学制
   */
  @TableField(value = "XZ")
  @ApiModelProperty(value = "学制")
  private BigDecimal xz;
  /**
   * 失效日期
   */
  @TableField(value = "NOUSEDATE")
  @ApiModelProperty(value = "失效日期")
  private Date nousedate;
  /**
   * 更新状态 1：新增；2：修改；3：删除 99：无变化
   */
  @TableField(value = "UPDATEFLAG")
  @ApiModelProperty(value = "更新状态 1：新增；2：修改；3：删除 99：无变化")
  private BigDecimal updateflag;
  /**
   * 更新时间
   */
  @TableField(value = "UPDATEDT")
  @ApiModelProperty(value = "更新时间")
  private Date updatedt;
  /**
   * 读取时间
   */
  @TableField(value = "DOWNDT")
  @ApiModelProperty(value = "读取时间")
  private Date downdt;
  /**
   * 卡类型
   */
  @TableField(value = "CARDTYPE")
  @ApiModelProperty(value = "卡类型")
  private BigDecimal cardtype;
  @TableField(value = "COUNTRY")
  @ApiModelProperty(value = "")
  private String country;
  /**
   * 民族，代码或名称，字典以一卡通中心库为准
   */
  @TableField(value = "NATION")
  @ApiModelProperty(value = "民族，代码或名称，字典以一卡通中心库为准")
  private String nation;
  /**
   * 电话
   */
  @TableField(value = "TELEPHONE")
  @ApiModelProperty(value = "电话")
  private String telephone;
  /**
   * 生日
   */
  @TableField(value = "BIRTHDAY")
  @ApiModelProperty(value = "生日")
  private Date birthday;
  /**
   * 住址
   */
  @TableField(value = "ADDRESS")
  @ApiModelProperty(value = "住址")
  private String address;
  /**
   * 电子邮件
   */
  @TableField(value = "EMAIL")
  @ApiModelProperty(value = "电子邮件")
  private String email;
  /**
   * 医疗类型 0 公费 1 自费
   */
  @TableField(value = "MEDICALTYPE")
  @ApiModelProperty(value = "医疗类型 0 公费 1 自费")
  private BigDecimal medicaltype;
  @TableField(value = "BANKCARDNO")
  @ApiModelProperty(value = "")
  private String bankcardno;
  public static final String COL_OUTID = "OUTID";
  public static final String COL_ECODE = "ECODE";
  public static final String COL_ID = "ID";
  public static final String COL_NAME = "NAME";
  public static final String COL_SEX = "SEX";
  public static final String COL_CERTIFICATEID = "CERTIFICATEID";
  public static final String COL_IDCARDNO = "IDCARDNO";
  public static final String COL_DPCODE = "DPCODE";
  public static final String COL_CUSTSF = "CUSTSF";
  public static final String COL_REGSTARTYEAR = "REGSTARTYEAR";
  public static final String COL_XZ = "XZ";
  public static final String COL_NOUSEDATE = "NOUSEDATE";
  public static final String COL_UPDATEFLAG = "UPDATEFLAG";
  public static final String COL_UPDATEDT = "UPDATEDT";
  public static final String COL_DOWNDT = "DOWNDT";
  public static final String COL_CARDTYPE = "CARDTYPE";
  public static final String COL_COUNTRY = "COUNTRY";
  public static final String COL_NATION = "NATION";
  public static final String COL_TELEPHONE = "TELEPHONE";
  public static final String COL_BIRTHDAY = "BIRTHDAY";
  public static final String COL_ADDRESS = "ADDRESS";
  public static final String COL_EMAIL = "EMAIL";
  public static final String COL_MEDICALTYPE = "MEDICALTYPE";
  public static final String COL_BANKCARDNO = "BANKCARDNO";
}